/*
 * @Author: chenhuanhuan 2925102113@qq.com
 * @Date: 2025-03-18 17:25:18
 * @LastEditors: chenhuanhuan 2925102113@qq.com
 * @LastEditTime: 2025-03-18 17:31:20
 * @FilePath: \hbzc-groupmeal-center-web\src\api\businessAnalysis.ts
 */
import request from "@/utils/newrequst";

//分页查询收入类型
export const getIncomeType = (data: any) => {
  return request({
    url: `/report/v1/center/income-category/page`, method: "post", data
  });
};
//编辑收入类型
export const editIncomeType = (data: any) => {
  return request({
    url: `/report/v1/center/income-category/edit`, method: "post", data
  });
};
//新增收入类型
export const addIncomeType = (data: any) => {
  return request({
    url: `/report/v1/center/income-category/add`, method: "post", data
  });
};